import { lazy } from "react"
import { Navigate } from "react-router-dom"

const Shop = lazy(() => import('../../yjr/component/shop'))
const Shopping = lazy(() => import('../../yjr/component/shopping'))
const VideoImg = lazy(() => import('../../yjr/VideoImg'))
const Massage = lazy(() => import('../../yjr/component/massage'))
const Issue = lazy(() => import('../../yjr/component/issue'))

export default [
    { path: '/shop', element: <Shop /> },
    { path: '/shopping/:id', element: <Shopping /> },
    { path: '/videoImg', element: <VideoImg /> },
    { path: '/massage/:id', element: <Massage /> },
    { path: '/issue', element: <Issue /> },
]